package main

import "fmt"

func main() {
	a := 1
	b := 2

	//a = 111, b = 222
	//a = 1, b = 2
	defer func(a, b int) {
		fmt.Printf("a = %d, b = %d \n", a, b)
	}(a, b)

	a = 111
	b = 222
	fmt.Printf("a = %d, b = %d \n", a, b)
}
